package com.bianmaba.activiti.controller.user;

import com.bianmaba.spring.web.controller.ReadController;
import com.bianmaba.activiti.beans.entity.user.Vacation;
import com.bianmaba.activiti.service.user.IVacationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: example-web-framework-extends
 * @description:订单业务层
 * @author: Chenjiabin
 * @create: 2018-04-21 11:45
 **/
@RestController
@RequestMapping(value = {"user/vacation"})
public class VacationController extends ReadController<Vacation, String> {

    @Autowired
    private IVacationService service;

    @Override
    protected IVacationService getService() {
        return service;
    }
}
